#ifndef WINDOW_H
#define WINDOW_H

#include <QSystemTrayIcon>
#include <QMainWindow>
#include <QWidget>
#include <QPushButton>
#include <QAction>
#include <QMenu>
#include <QVBoxLayout>

#include <QtGui>
#include <QMenuBar>
#include <QToolBar>
#include <QListWidget>
#include <QDockWidget>
#include <QDialog>
#include <QtWidgets/QWidget>

#include "digitalclock.h"
#include "analogiclock.h"
#include "radioclock.h"
#include "elapsedclock.h"
#include "countdown.h"

class Window : public QMainWindow
{
    Q_OBJECT

public:
    Window(QWidget *parent = 0);

public slots:
    void showMessage();
    void toggleStatusbar();

private:
    void createTrayIcon();
    QPushButton *m_bouton;
    QPushButton *q_bouton;
    QSystemTrayIcon *trayIcon;
    QMenu *trayIconMenu;
    QAction *quitAction;
    QAction *viewaclock;
    QAction *viewdclock;
    QAction *viewrclock;
    AnalogiClock *aclock;
    DigitalClock *dclock;
    RadioClock *rclock;
};

#endif // FENETRE_H
